﻿@using SapaFinance.UI.Controllers
@using Telerik.Web.Mvc.UI
@using Microsoft.Web.Mvc
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Custom.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/Custom.js")" type="text/javascript"> </script>
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"> </script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"> </script>
    @(Html.Telerik().StyleSheetRegistrar()
               .DefaultGroup(group => group
                                          .Add("telerik.common.min.css")
                                          .Add("telerik.windows7.min.css")
                                          .Combined(true)
                                          .Compress(false))
        )
    @Html.Telerik().ScriptRegistrar().Globalization(true)
</head>
<body>
    <div class="page">
        <header>
                <div id="title">
                    <h1>SapaFinance</h1>
                </div>
                <div id="logindisplay">
                    В системе <strong>@User.Identity.Name</strong>!
                </div>
                <nav>
                    <ul id="menu">
                        <li>@(Html.ActionLink<HomeController>(x => x.Requests(), "Заявки"))</li>
                        <li>@(Html.ActionLink<HomeController>(x => x.Payments(), "Оплаты"))</li>
                        <li>@(Html.ActionLink<HomeController>(x => x.Orders(), "Распоряжения"))</li>
                        <li>@(Html.ActionLink<HomeController>(x => x.RefBook(), "Справочники"))</li>
                    </ul>
                </nav>
            </header>
        <section id="main">
                @RenderBody()
            </section>
        <footer>
            </footer>
    </div>
</body>
</html>
